package www.wen.com.common.lib.data.entities


import androidx.annotation.Keep

@Keep
data class InvitationEntity(
    val content: List<Content>,
    val empty: Boolean, // true
    val first: Boolean, // true
    val last: Boolean, // true
    val number: Int, // 0
    val numberOfElements: Int, // 0
    val pageable: Pageable,
    val size: Int, // 0
    val sort: Sort,
    val totalElements: Int, // 0
    val totalPages: Int // 0
) {
    @Keep
    data class Content(
        val createTime: String,
        val id: Int, // 0
        val inviteUserId: String,
        val inviteUserName: String,
        val serverId: String,
        val serverName: String,
        val userId: String,
        val userName: String
    )

    @Keep
    data class Pageable(
        val offset: Int, // 0
        val pageNumber: Int, // 0
        val pageSize: Int, // 0
        val paged: Boolean, // true
        val sort: Sort,
        val unpaged: Boolean // true
    ) {
        @Keep
        data class Sort(
            val empty: Boolean, // true
            val sorted: Boolean, // true
            val unsorted: Boolean // true
        )
    }

    @Keep
    data class Sort(
        val empty: Boolean, // true
        val sorted: Boolean, // true
        val unsorted: Boolean // true
    )
}